﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Copad.BusinessCard.BLL;
using Copad.BusinessCard.Model;

public partial class LogList : BusinessCardPageBase
{
    static List<OperationEnum> list = new List<OperationEnum>();

    static LogList()
    {
        list.Add(OperationEnum.Delete);
        list.Add(OperationEnum.Insert);
        list.Add(OperationEnum.Login);
        list.Add(OperationEnum.Logout);
        list.Add(OperationEnum.Other);
        list.Add(OperationEnum.Sync);
        list.Add(OperationEnum.Update);
        list.Add(OperationEnum.Config);
        list.Add(OperationEnum.Exception);
        list.ForEach(x =>
        {
            AllGroups += (int)x + ":" + x.GetDescription() + ";";
        });

        if (AllGroups != "")
        {
            AllGroups = AllGroups.Remove(AllGroups.Length - 1);
        }
    }

    protected static string AllGroups = "";

    protected void Page_Load(object sender, EventArgs e)
    {

    }
}